package com.zxy.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author: Zxy
 * @description:
 * @date: 2021-08-21 13:37
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Storage {

    private Long id;
    private Long productId;
    /**
     * 总库存
     */
    private Integer total;
    /**
     * 已使用库存
     */
    private Integer used;
    /**
     * 剩余库存
     */
    private Integer residue;
}
